export function download(url) {
  // 获取heads中的filename文件名
  let downloadElement = document.createElement("a");
  downloadElement.href = url;
  downloadElement.target='blank'
  document.body.appendChild(downloadElement);
  // 点击下载
  downloadElement.click();         // 下载完成移除元素
  document.body.removeChild(downloadElement);
}
